package cn.bone.ou.user.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@TableName("user")
@Data
public class User {
    @TableId
    private Integer id;
    private String wechatId;        //微信id
    private String nickName;        //昵称(初始值为微信昵称)
    private String headImg;         //头像(初始值为微信头像)
    private Integer userType;       //用户类型(1:游客,2:住户,3:业主)
    private Integer usable;          //是否可用(0:否,1:是)
    private Integer communityId;    //小区id
    private Integer houseId;        //房屋id(1审核通过后添加)
    private String phoneNum;        //手机号(1审核通过后添加)
    private String realName;        //姓名(2审核通过后添加)
    private Integer gender;         //性别(1:男,2:女)(2审核通过后添加)
    private String idCard;          //身份证号(2审核通过后添加)
    private String idCardFront;     //身份证正面(2审核通过后添加)
    private String idCardBack;      //身份证背面(2审核通过后添加)
    private Date createTime;        //创建时间
    private Date loginTime;         //上次登陆时间
}
